import { TPoint, Point, Item, Color, Action } from '@/utils/types'

export const points: Point[] = [
  {
    color: '',
    label: '铃铛',
    alias: 'bell',
    type: 'small',
    isFruit: true,
    fruitType: 'small'
  },
  {
    color: '',
    label: '铃铛',
    alias: 'bell',
    type: 'large',
    isFruit: true,
    fruitType: 'small'
  },
  {
    color: '',
    label: '三元',
    alias: 'triple',
    isFruit: false
  },
  {
    color: '',
    label: '双星',
    alias: 'star',
    type: 'small',
    isFruit: true,
    fruitType: 'large'
  },
  {
    color: '',
    label: '双星',
    alias: 'star',
    type: 'large',
    isFruit: true,
    fruitType: 'large'
  },
  {
    color: '',
    label: '超级变变变',
    alias: 'super',
    isFruit: false
  },
  {
    color: '',
    label: '芒果',
    alias: 'mango',
    type: 'small',
    isFruit: true,
    fruitType: 'small'
  },
  {
    color: '',
    label: '芒果',
    alias: 'mango',
    type: 'large',
    isFruit: true,
    fruitType: 'small'
  },
  {
    color: '',
    label: '小猫变身',
    alias: 'cat',
    isFruit: false
  },
  {
    color: '',
    label: '双七',
    alias: 'seven',
    type: 'small',
    isFruit: true,
    fruitType: 'large'
  },
  {
    color: '',
    label: '双七',
    alias: 'seven',
    type: 'large',
    isFruit: true,
    fruitType: 'large'
  },
  {
    color: '',
    label: '随机奖',
    alias: 'random',
    isFruit: false
  },
  {
    color: '',
    label: '橘子',
    alias: 'orange',
    type: 'small',
    isFruit: true,
    fruitType: 'small'
  },
  {
    color: '',
    label: '橘子',
    alias: 'orange',
    type: 'large',
    isFruit: true,
    fruitType: 'small'
  },
  {
    color: '',
    label: '大满贯',
    alias: 'all',
    isFruit: false
  },
  {
    color: '',
    label: '苹果',
    alias: 'apple',
    isFruit: true,
    fruitType: 'apple'
  },
  {
    color: '',
    label: '王',
    alias: 'bar',
    isFruit: false,
    barType: 100
  },
  {
    color: '',
    label: '达人',
    alias: 'person',
    isFruit: false
  },
  {
    color: '',
    label: '王',
    alias: 'bar',
    isFruit: false,
    barType: 50
  },
  {
    color: '',
    label: '苹果',
    alias: 'apple',
    isFruit: true,
    fruitType: 'apple'
  },
  {
    color: '',
    label: '天龙八部',
    alias: 'long',
    isFruit: false
  },
  {
    color: '',
    label: '西瓜',
    alias: 'watermelon',
    type: 'small',
    isFruit: true,
    fruitType: 'large'
  },
  {
    color: '',
    label: '西瓜',
    alias: 'watermelon',
    type: 'large',
    isFruit: true,
    fruitType: 'large'
  },
  {
    color: '',
    label: '随机奖',
    alias: 'random',
    isFruit: false
  }
]

export const basicButtons: Item<string>[]= [
  {
    label: '←',
    action: Action.Left
  },
  {
    label: '→',
    action: Action.Right
  },
  {
    label: '单',
    action: Action.Single
  },
  {
    label: '双',
    action: Action.Double
  },
  {
    label: '大',
    action: Action.Large
  },
  {
    label: '小',
    action: Action.Small
  },
  {
    label: '启动',
    action: Action.Start
  }
]

export const colorButtons: Item<Color>[] = [
  {
    label: '红',
    value: 'red',
    action: Action.Color
  },
  {
    label: '黄',
    value: 'yellow',
    action: Action.Color
  },
  {
    label: '绿',
    value: 'green',
    action: Action.Color
  }
]

export const pointButtons: Item<TPoint>[] = [
  {
    label: '达人',
    value: 'person',
    action: Action.Score
  },
  {
    label: 'BAR',
    value: 'bar',
    action: Action.Score
  },
  {
    label: '双七',
    value: 'seven',
    action: Action.Score
  },
  {
    label: '双星',
    value: 'star',
    action: Action.Score
  },
  {
    label: '西瓜',
    value: 'watermelon',
    action: Action.Score
  },
  {
    label: '铃铛',
    value: 'bell',
    action: Action.Score
  },
  {
    label: '芒果',
    value: 'mango',
    action: Action.Score
  },
  {
    label: '橘子',
    value: 'orange',
    action: Action.Score
  },
  {
    label: '苹果',
    value: 'apple',
    action: Action.Score
  }
]

export const colorLamps: Item<Color>[] = [
  {
    label: '红',
    value: '',
  },
  {
    label: '红',
    value: '',
  },
  {
    label: '黄',
    value: '',
  },
  {
    label: '黄',
    value: '',
  },
  {
    label: '绿',
    value: '',
  },
  {
    label: '绿',
    value: '',
  }
]

export const historyLamp: Color[] = Array(14).fill('')